<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="./css/normalize.css">
    <link rel="stylesheet" href="./css/swiper.min.css">
    <link rel="stylesheet" href="./css/index.css">
    <title>Document</title>
</head>

<body>
    <section class="wrap">
        <!-- 头部模块 -->
        <header class="header">黑马页面</header>
        <!-- 导航栏模块 -->
        <ul class="nav">
            <a href="#" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon2.png" alt="">
                <span>笔试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon3.png" alt="">
                <span>技术面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon4.png" alt="">
                <span>模拟面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon5.png" alt="">
                <span>面试技巧</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon6.png" alt="">
                <span>薪资查询</span>
            </a>
        </ul>
        <!-- go 模块 -->
        <section class="go">
            <img src="./images/go.png" alt="">
        </section>
    </section>
    <!-- 就业指导模块 -->
    <section class="content">
        <!-- 头部部分 -->
        <div class="content-hd">
            <h4>
                <span class="icon">
                    <img src="./icons/i2.png" alt="">
                </span> 就业指导
            </h4>
            <a href="" class="more">更多>></a>
        </div>
        <!-- 旋转木马部分 -->
        <div class="content_bd">
            <!-- Swiper -->
            <div class="swiper-container bd_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/ldh.jpg" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/3.jpg" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                </div>
            </div>
            <!-- Add Arrows 根据需求，需要把 箭头 放到 content 之外（特殊情况）-->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </section>
    <!-- 充电学习 模块 -->
    <section class="content content_fo">
        <!-- 头部部分 -->
        <div class="content-hd">
            <h4>
                <span class="icon">
                    <img src="./icons/i2.png" alt="">
                </span> 充电学习
            </h4>
            <a href="" class="more">更多>></a>
        </div>
        <!-- 学习模块轮播图部分 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container study_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic1.png" alt="">
                            <h5>说地道英语，告别中式英语</h5>
                        </a>
                        <p>156人在学习</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic2.png" alt="">
                            <h5>说地道英语，告别中式英语</h5>
                        </a>
                        <p>368人在学习</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic1.png" alt="">
                            <h5>说地道英语，告别中式英语</h5>
                        </a>
                        <p>188人在学习</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="./images/pic2.png" alt="">
                            <h5>说地道英语，告别中式英语</h5>
                        </a>
                        <p>266人在学习</p>
                    </div>
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <!-- 底部模块 -->
    <footer class="footer">
        <a href="#" class="item">
            <img src="./icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/ms.png" alt="">
            <p>模拟面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/net.png" alt="">
            <p>技术面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/user.png" alt="">
            <p>我的首页</p>
        </a>
    </footer>
    <!-- 引入 JS 文件 -->
    <script src="./js/flexible.js"></script>
    <!-- 轮播图特效 jS 文件 -->
    <script src="./js/swiper.min.js"></script>
    <script>
        (function() {
            var swiper = new Swiper('.swiper-container', {
                //这是显示的 slide 的 个数
                slidesPerView: 2,
                //每个 slide 之间的 距离
                spaceBetween: 30,
                //这是 中间（当前）slide--ture为显示在中间--false为显示两个且并列 
                centeredSlides: true,
                loop: true,
                //添加左右箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })()
        //第二个函数轮播图
        (function() {
            //如果有多个轮播图最好修改下 .swiper-container ，因为会形成统一式
            var swiper = new Swiper('.swiper-container', {
                slidesPerView: 2.2,
                spaceBetween: 20,
            });
        })()
    </script>
</body>

</html>